package client;

import javax.xml.rpc.ServiceException;
import java.net.URL;
import java.net.MalformedURLException;

/**
 * Created by IntelliJ IDEA.
 * User: Henry
 * Date: 04/04/2009
 * Time: 15:53:51
 * To change this template use File | Settings | File Templates.
 */
public class ClientTest {
    public static void main(String[] args) {
        try {
            GoOutService_PortType goOutService = new GoOutServiceServiceLocator().getGoOutService(new URL("http://79.178.29.4:8081/makeAplanService/services/GoOutService"));
            String[] restaurantTypes = goOutService.getRestaurantTypes();
            int i=0;
        } catch (ServiceException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (MalformedURLException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (java.rmi.RemoteException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
    }
}
